ch.randelshofer.quaqua
Class Quaqua13RootPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.RootPaneUI
javax.swing.plaf.basic.BasicRootPaneUI
ch.randelshofer.quaqua.Quaqua13RootPaneUI
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public class Quaqua13RootPaneUI
- extends javax.swing.plaf.basic.BasicRootPaneUI
Quaqua13RootPaneUI.
- Version:
- 1.0.4 2005-08-03 Removed error output on System.err, when no
native support for windows modified property is available.
1.0.3 2005-06-29 Fixed NPE in method propertyChanged. Method propertyChange must call super in
order to make default button work.
1.0.2 2005-06-19 Ancestor window was not properly determined
when running under Java 1.5.
1.0.1 2005-04-07 Fixed NPE in method ancestorRemoved.
1.0 06 February 2005 Created.
- Author:
- Werner Randelshofer
|
Method Summary |
protected javax.swing.event.AncestorListener |
createAncestorListener()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected void |
installDefaults(javax.swing.JRootPane c)
|
protected void |
installListeners(javax.swing.JRootPane root)
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
Invoked when a property changes on the root pane. |
protected void |
uninstallListeners(javax.swing.JRootPane root)
|
void |
update(java.awt.Graphics gr,
javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.basic.BasicRootPaneUI |
installComponents, installKeyboardActions, installUI, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quaqua13RootPaneUI
public Quaqua13RootPaneUI()
- Creates a new instance.
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installDefaults
protected void installDefaults(javax.swing.JRootPane c)
- Overrides:
installDefaults in class javax.swing.plaf.basic.BasicRootPaneUI
update
public void update(java.awt.Graphics gr,
javax.swing.JComponent c)
- Overrides:
update in class javax.swing.plaf.ComponentUI
installListeners
protected void installListeners(javax.swing.JRootPane root)
- Overrides:
installListeners in class javax.swing.plaf.basic.BasicRootPaneUI
uninstallListeners
protected void uninstallListeners(javax.swing.JRootPane root)
- Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicRootPaneUI
createAncestorListener
protected javax.swing.event.AncestorListener createAncestorListener()
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Invoked when a property changes on the root pane. If the event
indicates the
defaultButton has changed, this will
reinstall the keyboard actions.
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener- Overrides:
propertyChange in class javax.swing.plaf.basic.BasicRootPaneUI